<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./elementplus/index.css" />
    <script src="./elementplus/vue.global.prod.js"></script>
    <script src="./elementplus/index.full.js"></script>
</head>
<body>
    <div id="app">
        <el-button type="primary" plain @click="t1" >Primary 1</el-button>
        <el-button type="primary" plain @click="t1(111)" >Primary 2</el-button>
    </div>
    <script>
        const { createApp } = Vue;
        let app = createApp({
            data() {
                return {

                }
            },
            methods: {
                a: function() {
                    console.log(11);
                },
                t1(val) {
                    console.log(Date.now(), val);
                }
            }
        });
        app.use(ElementPlus);
        app.mount('#app');
    </script>
</body>
</html>